export default {
  app: {
    name: 'WorkBench',
    menuName: 'Monitor',
    refresh: 'refresh',
    autoRefresh: 'refresh',
    custom: 'Custom',
    startDate: 'Start Date',
    endDate: 'End Date',
    startTime: 'Start Time',
    endTime: 'End Time',
    to: 'To',
    running: 'running',
    disconnect: 'disconnect',
    unknown: 'unknown',
    query: 'query',
    delete: 'delete',
    deleteTip0: 'Confirm deletion',
    cancel: 'cancel',
    confirm: 'confirm',
    add: 'add',
    edit: 'edit',
    operate: 'operate',
    view: 'view',
    export: 'export',
    download: 'download',
    reset: 'Reset',
    back: 'Back',
    preview: 'Preview',
    enable: 'Enable',
    disable: 'Disable',
    test: 'test',
    enableFail: 'Enable failed',
    disableFail: 'Disable failed',
    gotoInstall: 'go to install',
    queryFail: 'Query failed',
    saveSuccess: 'Save successful',
    saveFail: 'Save failed',
    exportSuccess: 'Export successful',
    exportFail: 'Export failed',
    testSuccess: 'Test successful',
    testFail: 'Test failed',
    delSuccess: 'Deletion successful',
    delFail: 'Deletion failed',
    selecteDataTip: 'Please select a piece of data',
    selectDatasTip: 'Please select the datas',
    tip: 'Tip',
    inputTip: 'Please input ',
    setAlertConfig: 'Set up the Alert interface',
    selectUpdateDataTip: 'Please select the data first before editing',
    deleteTip: 'Are you sure you want to delete this data?',
    keepOneData: 'Please keep at least one piece of data',
    uninstallTitleTip: 'Please install the prometheus server',
    uninstallTip: 'Before using the Alert Center module and the Notify Configuration module, you need to install Prometheus. Please go to "Intelligent OPS - Instance Monitoring " to install the server Prometheus. Otherwise, it will not be available.',
    disConfigTip: 'Before using the Alert Center module and the Notify Configuration module, set up the alert interface first.',
    instance: 'instance',
    plugin: 'plugin',
  },
  alertRule: {
    title: 'alert rule',
    alertTitle: 'alert rule',
    notifyTitle: 'notify rule',
    addTitle: 'add rule',
    detailTitle: 'rule detail',
    editTitle: 'edit rule',
    ruleName: 'ruleName',
    ruleType: 'ruleType',
    level: 'level',
    index: 'index',
    ruleItem: 'alertRule',
    ruleExpComb: 'ruleCombination',
    ruleContent: 'content',
    notifyDuration: 'statisticalDuration',
    checkFrequency: 'checkFrequency',
    alertDesc: 'description',
    repeat: 'duplicate',
    silence: 'silence',
    silenceTime: 'silenceTime',
    alertNotify: 'alertNotify',
    notifyWay: 'notifyWay',
    second: 'second',
    minute: 'minute',
    hour: 'hour',
    day: 'day',
    log: 'log',
    plugin: 'plugin',
    serious: 'serious',
    warn: 'warn',
    info: 'info',
    pluginCode: 'plugin code',
    ruleCode: 'rule code',
    ruleNamePlaceholder: 'please input the rule name',
    selectRuleType: 'please select the rule type',
    selectLevelType: 'please select the level',
    ruleContentPlaceholder: 'please input the rule content',
    alertNotifyPlaceholder: 'please select the alert notify',
    ruleItemTip: 'please input the alert rule',
    keywordPlaceholder: 'please input the keyword',
    operatePlaceholder: 'please select the comparison operator',
    limitValuePlaceholder: 'please input the threshold',
    limitValueMustBeNumber: 'the threshold must be number',
    ruleExpCombTip: 'Please complete the filling of the alert rule combination',
    notifyDurationTip: 'please input the statistical period',
    notifyDurationIsNumber: 'the statistical period must be integer',
    checkFrequencyTip: 'please input the check frequency',
    checkFrequencyIsNumber: 'the check frequency must be integer',
    isRepeatTip: 'Please set whether to enable duplicate alarms',
    isSilenceTip: 'Please set whether to enable silence mode',
    silenceTimeTip: 'Please select the silence period',
    notifyWayTip: 'Please select the notify way',
    nextRepeatIsNotEmpty: 'The repeat cycle is not empty',
    maxRepeatCountIsNotEmpty: 'The maximum repeat count is not empty',
    nextRepeatIsNum: 'The repeat cycle should be an integer',
    maxRepeatCountIsNum: 'The maximum repeat count should be an integer',
    pluginCodePlaceholder: 'Please input plugin code',
    ruleCodePlaceholder: 'Please input rule code',
    isRepeat: 'Yes',
    isNotRepeat: 'No',
    isSilence: 'Yes',
    isNotSilence: 'No',
    to: 'to',
    firing: 'firing',
    recover: 'recover',
    and: 'and',
    or: 'or',
    table: ['ruleName', 'ruleType', 'level', 'isRepeat', 'isSilence', 'alertNotify', 'alertContent', 'operate', 'alertRule', 'ruleCombination'],
    ruleItemNum: 'number',
    ruleItemExp: 'ruleExpression',
    normalAction: 'keeping happen',
    increaseAction: 'keeping increase',
    decreaseAction: 'keeping decrease',
    alertContentTitle: 'Alert content description',
    alertContentTip: 'The main purpose of the alert content is to notify the user, and it supports configuring parameters using $&#123;xxx&#125; to represent the parameters. For example, the alert content is "In the last minute, the CPU usage rate of $&#123;nodeName&#125; has been greater than 90%", where $&#123;nodeName&#125; is a parameter. The configurable parameters are as follows:',
    cpuUsage: 'CPU Usage',
    memoryUsage: 'Memory Usage',
    diskUsage: 'Disk Usage',
    diskWriteRate: 'Disk Write Rate',
    diskReadRate: 'Disk Read Rate',
    networkReceiveRate: 'Network Receive Rate',
    networkTransmitRate: 'Network Transmit Rate',
    lockCount: 'Lock Count',
    lockTime: 'Lock Run Time',
    connectionCount: 'Connection Count',
    connectionIncrease: 'Connection Increase Count',
    slowsqlRunTime: 'Slow Sql Run Time',
    tablespaceSize: 'Tablespace Size',
    waitingCount: 'Blocked Session Count',
    pgDbStatus: 'Database Status',
    keyword: 'keyword',
    blockWord: 'block word',
    happen: 'appear',
    logUnit: 'times',
    nextRepeat: 'repeatDuration',
    maxRepeatCount: 'maxRepeatTimes',
    filesystemPathTip: 'Please input the filesystem path',
    updateTemplateRuleTip: 'Should the rules corresponding to the Alert Template be updated?',
    updateTemplateRuleRadios: ['No updates', 'Some of the rules corresponding to the Alert Template will be updated', 'All the rules corresponding to the Alert Template will be updated'],
    chooseTemplateTip: 'Please select the Alert Template: '
  },
  alertTemplate: {
    title: 'alert template',
    addTitle: 'add template',
    editTitle: 'edit template',
    detailTitle: 'template detail',
    templateName: 'template name',
    selectRule: 'select the rule',
    templateNamePlaceholder: 'Please input template name',
    selectTypePlaceholder: 'Please select the type of template',
    table: ['template name', 'type', 'operate'],
  },
  alertRecord: {
    title: 'alert record',
    alertTotal: 'total of alert',
    alerting: 'firing',
    alerted: 'recover',
    unread: 'unread',
    read: 'read',
    markAsRead: 'mark as read',
    markAsUnread: 'mark as unread',
    recordStatus: 'record status',
    alertStatus: 'alert status',
    level: 'alert level',
    recordStatusTip: 'Alert handling statistics',
    alertStatusTip: 'Alert status statistics',
    levelTip: 'Alert level statistics',
    cluster: 'cluster/instance',
    alertTimeRange: 'alert time range',
    startTimePlaceholder: 'start time',
    endTimePlaceholder: 'end time',
    table: ['instance', 'IP', 'datasoure type', 'alert template', 'alert rule', 'rule type', 'alert level', 'start time', 'end time', 'duration', 'alert status', 'notify way', 'record status', 'operate', 'type'],
    tableDataSelectTip: 'Please select at least one data',
    detailTitle: 'alert detail',
    alertInstance: 'alert instance',
    alertRule: 'alert rule',
    alertContent: 'alert content',
    alertRelationView: 'related view',
    alertRelationLog: 'related log',
    clusterName: 'cluster name',
    instanceName: 'instance name',
    IPAndPort: 'IP and port',
    nodeRole: 'cluster node role',
    exportList: 'Export list',
    exportReport: 'Export report',
    logSearchTable: ['Time', 'Type', 'level', 'Log', 'Cluster ID', 'Instance ID'],
    justShowAlertLog: 'show only alert logs',
    type: 'type',
    selectType: 'Please select type',
  },
  AlertClusterNodeConf: {
    title: 'alert configuration',
    confBtn: 'configuration',
    unbindConfBtn: "unbind",
    unbindTip: 'Are you sure you want to unbind the alart template?',
    unbindSuccess: 'Unbind Success!',
    unbindFail: 'Unbinding Failed!',
    tableDataSelectTip: 'Please select at least one data',
    tableDataSelectTip2: 'Please select at least one data with a binding alert template',
    tableDataTip: 'The instance does not have a configured alert template, so there is no need to unbind.',
    table: ['cluster/instance', 'datasoure type', 'IP', 'alert template', 'operate'],
    detailTitle: 'alert template config',
    selectedInstance: 'selected instances',
    alertTemplateTab: 'select alert template',
    alertRuleTab: 'select alert rule',
    generateTip1: 'The system will generate a default template name for the selected rules:"',
    generateTip2: '".You can also customize and modify the name.',
    setInterface: 'set alert interface',
    alertIp: 'Interface IP',
    alertPort: 'Interface Port',
    interfaceAddr: 'Full interface',
    nodeNamePlaceholder: 'Please input cluster/instance name'
  },
  alertShielding: {
    title: 'Alert Shielding',
    addShield: 'Add Shielding Rule',
    inputRuleNameTip: 'Please input Shielding Rule name',
    inputRuleDetailTip: 'Please input Shielding Rule detail',
    ruleName: 'Shielding Rule Name',
    ruleDetail: 'Shielding Rule Detail',
    shieldInstance: 'Shielding Instance',
    effectTimeRange: 'Effective Timerange',
    schedule: 'schedule:',
    everyday: 'everyday',
    timeRangeSchedule: 'Time-sensitive Activation：',
    permanent: 'permanent',
    isEnable: 'Enable',
    addTitle: 'add Shielding Rule',
    editTitle: 'edit Shielding Rule',
    detailTitle: 'Shielding Rule Detail',
    effectTimeRangeTip: 'Please input or complete Effective Timerange',
    shieldInstanceTip: 'Please select Shielding Instance',
    isEnableTip: 'Please select Enable or Disable',
  },
  notifyTemplate: {
    title: 'notify template',
    addTitle: 'add template',
    editTitle: 'edit template',
    detailTitle: 'template detail',
    templateNamePlaceholder: 'Please enter the name of the notify template',
    templateTypePlaceholder: 'Please enter the type of the notify template',
    templateDescPlaceholder: 'Please enter the description of the notify template',
    notifyTitlePlaceholder: 'Please enter the title',
    notifyContentPlaceholder: 'Please enter the notify content',
    templateName: 'templateName',
    templateType: 'templateType',
    notifyTitle: 'notifyTitle',
    notifyContent: 'notifyContent',
    templateDesc: 'description',
    email: 'email',
    WeCom: 'WeCom',
    DingTalk: 'DingTalk',
    thirdParty: 'third-party',
    previewContent: 'preview',
    notifyContentTitle: 'notify content description',
    notifyContentTip: 'The message content mainly wraps the alert content, adds additional content, and finally sends the wrapped alert content to the user. It supports configuring parameters using $&#123;xxx&#125; to represent the parameters. The configurable parameter meanings are as follows:'
  },
  notifyWay: {
    title: 'notify way',
    addTitle: 'add notify way',
    editTitle: 'edit notify way',
    detailTile: 'notify way detail',
    namePlaceholder: 'Please enter the name of the notify way',
    name: 'name',
    notifyType: 'notifyType',
    notifyTarget: 'notifyTarget',
    sendWay: 'sendType',
    normalSendWay: 'normal',
    robotSendWay: 'robot',
    email: 'email',
    WeCom: 'WeCom',
    DingTalk: 'DingTalk',
    webhook: 'webhook',
    sign: 'sign',
    personId: 'person ID',
    deptId: 'department ID',
    emailPlaceholder: 'Please enter email address(es). If there are multiple email addresses, please separate them with commas',
    personIdPlaceholder: 'Please enter person ID(s). If there are multiple person, please separate them with commas. Either person ID or department ID is required (or both).',
    deptIdPlaceholder: 'Please enter department ID(s). If there are multiple department, please separate them with commas. Either person ID or department ID is required (or both).',
    templatePlaceholder: 'Please select a notify template',
    sendWayPlaceholder: 'Please select a sendType',
    webhookPlaceholder: 'Please enter url',
    signPlaceholder: 'Please enter the sign',
    emailTemplate: 'emailTemplate',
    WeComTemplate: 'WeComTemplate',
    DingTalkTemplate: 'DingTalkTemplate',
    thirdPartyTemplate: 'messageTemplate',
    existOneOfTargetTip: 'Either person ID or department ID is required (or both)',
    params: 'parameter',
    bodyTitleTip: 'Body content description',
    bodyContentTip: 'The body is in JSON format and should contain the content of the notification template. You can use $&#123;notifyContent&#125; and $&#123;notifyTitle&#125; respectively to represent the content and title of the message being sent:',
    bodyNotifyTitle: 'The title of the messageTemplate',
    bodyNotifyContent: 'The content of the messageTemplate',
    resultCode: 'Success status code',
    SNMP: 'SNMP',
    snmpPort: 'Port',
    snmpUsername: 'Username',
    snmpAuthPasswd: 'Auth password',
    snmpPrivPasswd: 'Encryption password',
    snmpIpPlaceholder: 'Please enter the IP address',
    snmpPortPlaceholder: 'Please enter the port',
    snmpCommunityPlaceholder: 'Please enter the Community',
    snmpOidPlaceholder: 'Please enter the Oid',
    snmpVersionPlaceholder: 'Please enter the Version',
    snmpUsernamePlaceholder: 'Please enter username',
    snmpAuthPasswdPlaceholder: 'Please enter auth password',
    snmpPrivPasswdPlaceholder: 'Please enter encryption password',
  },
  notifyConfig: {
    title: 'notify config',
    emailConfig: 'eamil config',
    weComConfig: 'WeCom config',
    dingTalkConfig: 'DingTalk config',
    senderEmail: 'email',
    sender: 'sender',
    sever: 'server',
    port: 'SMTP port',
    account: 'SMTP account',
    passwd: 'SMTP password',
    agentId: 'agent ID',
    weComAppKey: 'WeCom appKey',
    weComSecret: 'WeCom secret',
    appKey: 'appKey',
    dingSecret: 'app secret',
    inputTip: 'Pleasse input',
    test: 'test',
  },
  contentParam: {
    nodeName: 'cluster node name',
    hostname: 'hostname',
    hostIp: 'host IP',
    port: 'database port',
    alertTime: 'alert time',
    alertStatus: 'alert status',
    level: 'alert level',
    content: 'alert content',
    curVal: 'current value',
    limitValue: 'alert threshold',
    ruleName: 'rule name',
    duration: 'alert duration',
  }
}